package com.twu.library.domain.service;

import com.twu.library.domain.mapper.BookMapper;
import com.twu.library.domain.model.Book;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookService {
    @Autowired
    private BookMapper bookMapper;

    public List<Book> getTheBookMsg(String bookName) {
        return bookMapper.getTheBookByName(bookName);
    }
}
